package com.loveyukari.dao;

import com.loveyukari.model.ExchangeHistory;

import java.util.List;

public interface ExchangeHistoryDao {

    void insert(ExchangeHistory exchangeHistory);

    List<ExchangeHistory> selectAll();

    List<ExchangeHistory> selectByAuth(int authId);

    ExchangeHistory selectById(int id);

    int sumAuthPrice(int authId);

    void updateAddress(Integer id,Integer addressId);

    void updateExpress(Integer id,String expressNo,String expressName);

    void updateStatus(Integer id,Integer status);

}
